package com.gouqi.lpl.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gouqi.lpl.domain.Provinceofchina;
import com.gouqi.lpl.service.ProvinceofchinaService;
import com.gouqi.lpl.mapper.ProvinceofchinaMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service
public class ProvinceofchinaServiceImpl extends ServiceImpl<ProvinceofchinaMapper, Provinceofchina>
    implements ProvinceofchinaService{

    @Resource
    private ProvinceofchinaMapper provinceofchinaMapper;


    @Override
    public List<Provinceofchina> getProvinceofchina() {
        LambdaQueryWrapper<Provinceofchina> queryWrapper = new LambdaQueryWrapper<>();
        List<Provinceofchina> provinceofchinaList = provinceofchinaMapper.selectList(queryWrapper);
        return provinceofchinaList;
    }
}




